package com.miao.common.entity.pojo;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 订单表(ShopOrder)表实体类
 *
 * @author MiaoWenQing
 * @since 2021-02-20 23:05:12
 */
@SuppressWarnings("serial")
public class ShopOrder extends Model<ShopOrder> {
    //订单编号
    @TableId(type = IdType.ASSIGN_ID)
    private String orderId;
    //订单金额
    private BigDecimal orderMoney;
    //订单状态  1 待付款 2 待发货 3已发货 4 已完成 5 已关闭
    private Integer orderState;
    //订单创建时间
    private Date orderCreateTime;
    //订单付款时间
    private Date orderPayTime;
    //订单发货时间
    private Date orderDeliverTime;
    //订单签收时间
    private Date orderReceiveTime;
    //订单评分时间
    private Date orderRateTime;
    //订单支付方式 0 支付宝 1 微信
    private Object orderPayType;
    //订单商品信息
    private String proInfo;
    //下单者id
    private String cusId;
    //收货地址id
    private String addrId;
    //订单操作日志编号
    private String opreaLogId;
    //物流公司
    private String logisticsCom;
    //订单关闭时间
    private Date orderCloseTime;
    //是否删除
    private Object isDelete;
    //快递单号
    private String logisticsId;
    //店铺编号
    private Integer storeId;


    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public BigDecimal getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(BigDecimal orderMoney) {
        this.orderMoney = orderMoney;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public Date getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(Date orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public Date getOrderPayTime() {
        return orderPayTime;
    }

    public void setOrderPayTime(Date orderPayTime) {
        this.orderPayTime = orderPayTime;
    }

    public Date getOrderDeliverTime() {
        return orderDeliverTime;
    }

    public void setOrderDeliverTime(Date orderDeliverTime) {
        this.orderDeliverTime = orderDeliverTime;
    }

    public Date getOrderReceiveTime() {
        return orderReceiveTime;
    }

    public void setOrderReceiveTime(Date orderReceiveTime) {
        this.orderReceiveTime = orderReceiveTime;
    }

    public Date getOrderRateTime() {
        return orderRateTime;
    }

    public void setOrderRateTime(Date orderRateTime) {
        this.orderRateTime = orderRateTime;
    }

    public Object getOrderPayType() {
        return orderPayType;
    }

    public void setOrderPayType(Object orderPayType) {
        this.orderPayType = orderPayType;
    }

    public String getProInfo() {
        return proInfo;
    }

    public void setProInfo(String proInfo) {
        this.proInfo = proInfo;
    }

    public String getCusId() {
        return cusId;
    }

    public void setCusId(String cusId) {
        this.cusId = cusId;
    }

    public String getAddrId() {
        return addrId;
    }

    public void setAddrId(String addrId) {
        this.addrId = addrId;
    }

    public String getOpreaLogId() {
        return opreaLogId;
    }

    public void setOpreaLogId(String opreaLogId) {
        this.opreaLogId = opreaLogId;
    }

    public String getLogisticsCom() {
        return logisticsCom;
    }

    public void setLogisticsCom(String logisticsCom) {
        this.logisticsCom = logisticsCom;
    }

    public Date getOrderCloseTime() {
        return orderCloseTime;
    }

    public void setOrderCloseTime(Date orderCloseTime) {
        this.orderCloseTime = orderCloseTime;
    }

    public Object getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Object isDelete) {
        this.isDelete = isDelete;
    }

    public String getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(String logisticsId) {
        this.logisticsId = logisticsId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    @Override
    public String toString() {
        return "ShopOrder{" +
                "orderId='" + orderId + '\'' +
                ", orderMoney=" + orderMoney +
                ", orderState=" + orderState +
                ", orderCreateTime=" + orderCreateTime +
                ", orderPayTime=" + orderPayTime +
                ", orderDeliverTime=" + orderDeliverTime +
                ", orderReceiveTime=" + orderReceiveTime +
                ", orderRateTime=" + orderRateTime +
                ", orderPayType=" + orderPayType +
                ", proInfo='" + proInfo + '\'' +
                ", cusId='" + cusId + '\'' +
                ", addrId='" + addrId + '\'' +
                ", opreaLogId='" + opreaLogId + '\'' +
                ", logisticsCom='" + logisticsCom + '\'' +
                ", orderCloseTime=" + orderCloseTime +
                ", isDelete=" + isDelete +
                ", logisticsId='" + logisticsId + '\'' +
                ", storeId=" + storeId +
                '}';
    }
}
